package com.gxa.autoparts.core.pojo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "tb_address")
/**
 *
 */
public class CouponUseRecordVo implements Serializable {
  @Id
  private Long id;

//  @Column(name = "name")
  private String name;

//  @Column(name = "type")
  private Integer type;

//  @Column(name = "remark")
  private String remark;

//  @Column(name = "useRule")
  private String useRule;

//  @Column(name = "useStartTime")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date useStartTime;

//  @Column(name = "useEndTime")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date useEndTime;

//  @Column(name = "userName")
  private String userName;

//  @Column(name = "phone")
  private String phone;

//  @Column(name = "creatTime")
  private Date creatTime;

//  @Column(name = "creatTime")
  private Long orderId;

}
